﻿@using MvcPaging
@model IPagedList<Data.Video.Video>
<div>
    <div class="videoList">
        @foreach (var item in Model)
        {
             <div class="videoListItem">
            <h2><a target="_blank" href="/home/video/@item.Id">@item.Title </a>
            </h2>
            <div class="stats">
                <div class="numbers">
                    <span class="views">@item.View</span> <span class="comments">@item.Comment</span>
                </div> 
                <div class="fb-like" data-href="http://haivl.tv/video/@item.IdOld" data-send="false" data-layout="button_count" data-width="90" data-show-faces="false" data-share="true">
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="thumb">
                <a class="play" data-id="10715" data-youtubeid="@item.YCode" href="/home/video/@item.Id" target="_blank">
                    <img src="http://i.ytimg.com/vi/@item.YCode/0.jpg" width="728" alt="@item.Title" />
                    <span class="playIcon"></span>
                    <div class="duration">
                       @item.TotalTime
                    </div>
                </a>
            </div> 
        </div>
        } 
        <a class="buttons nextListPage" href="/home/index/@Html.Raw(Model.PageIndex+2)">xem th&#234;m, c&#242;n nhiều lắm</a>
    </div>
    <div class="clear">
    </div>
</div>
